package com.ljt.yupictureddd.interfaces.dto.space;

import lombok.Data;

/**
 * 从枚举类中抽出来一个类,传给前端
 */
@Data
public class SpaceLevel {
    private String text;
    private int value;
    private long maxSize;
    private long maxCount;

    public SpaceLevel(String text, int value, long maxSize, long maxCount) {
        this.text = text;
        this.value = value;
        this.maxSize = maxSize;
        this.maxCount = maxCount;
    }
}
